<?php
/**
 * TestGuest Version1.0
 * ================================================
 * Copy 2017-2018 zxj
 * Web: http://www.zhaoxiaojie.club
 * ================================================
 * Author: Zxj
 * Date: 17/8/14
 * Time: 上午11:22
 *
 * 回复显示页面
 * 接收哪个帖子的id,进行操作
 */
session_start();
include_once 'common/ini.php';
include_once 'common/config.inc.php';
include_once 'common/function.inc.php';
include_once 'common/mysql.inc.php';


    $id = isset($_GET['id'])?$_GET['id']:null;

    if(empty($id)){


        _alert_back('参数错误!');


    }

    //查询回复的哪个帖子
    $sql = "select * from bbs_notes WHERE id=$id limit 1";
    $res = mysql_query($sql);
    $datalouzhu = mysql_fetch_assoc($res);



    //跳转到回复页面,并把id带过去

    include VIEW.'/reply.html';




?>